package com.rnkrsoft.suyan.config.server.config.dao;

import com.rnkrsoft.framework.orm.jdbc.JdbcMapper;
import com.rnkrsoft.suyan.config.server.config.entity.OperateHistoryParamEntity;
import org.apache.ibatis.annotations.Param;

/**
 * Created by woate on 2018/6/19.
 */
public interface OperateHistoryParamDAO extends JdbcMapper<OperateHistoryParamEntity, String>{
    /**
     * 创建一个版本的快照
     * @param operateId
     * @param projectId
     * @param versionId
     * @param environmentId
     * @param machineId
     * @param paramId
     */
    void createSnapshot(@Param("operateId") String operateId, @Param("projectId") String projectId, @Param("versionId") String versionId, @Param("environmentId") String environmentId, @Param("machineId") String machineId, @Param("paramId") String paramId);
}
